<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #d1 {
            width: 100px;
            height: 100px;
            border: 25px solid red;
            margin-top: 25px;
            margin-left: 25px;
            box-sizing: border-box;
        }

        #d1>div {
            width: 51px;
            height: 51px;
            background-color: blue;
        }

        #d2 {
            width: 100px;
            height: 100px;
            border: 5px solid green;
            border-radius: 5%;
            padding-left: 50px;
            padding-top: 50px;
            margin-left: 125px;
            box-sizing: border-box;
        }
    </style>
</head>

<body>
    <div id="d1">
        <div></div>
    </div>
    <div id="d2">华咯</div>
</body>

</html>